package com.zone.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zone.demo.dto.Account;
import com.zone.demo.dto.User;

/**
 * Created with IntelliJ IDEA.
 * User: SJP
 * Date: 2021/7/8
 * Time: 16:12
 * Description: No Description
 * @author SJP
 */
public interface UserService extends IService<User> {


    /**
    * Description 通过用户姓名获取对应账户信息
    * @author shao
    * @param name:
    * @date 2021/7/8 17:40
    * @return com.zone.demo.dto.Account
    */
    Account getAmountByName(String name);

    /**
    * Description 创建用户表单
    * @author shao
    * @param :
    * @date 2021/7/8 17:47
    * @return void
    */
    void createTableUser();

    /**
    * Description 创建账户表单
    * @author shao
    * @param :
    * @date 2021/7/8 17:51
    * @return void
    */
    void createTableAccount();

    /**
     * Description 添加记录到user表
     * @author shao
     * @date 2021/7/8 16:08
     * @return void
     */
    void insertDataToUser();


    /**
    * Description 添加记录到Account表
    * @author shao
    * @param :
    * @date 2021/7/8 18:23
    * @return void
    */
    void insertDataToAccount();
}
